A Case Study of Feature Location in Unstructured Legacy Fortran Code
نویسندگان
چکیده
Feature location is a major problem in supporting legacy code. Two methods, the Sojhare Reconnaissance technique and the Dependency Graph search method, have been proposed to help software engineers locate features in a program that needs to be modiped. Both methods have been developed and evaluated largely using relatively modern C code. This report describes preliminary experiences in adapting them to legacy Fortran code typical of systems developed in the 1970's. A case study was performed to apply the two methods to the CONVERT3 program, which is part of the FASTGEN geometric modeling suite. CONVERT3 exhibits many characteristics typical of legacy Fortran programs such as poor modularity, prolific use of unstructured GOTOs, tight coupling through large common blocks, and confusing program plans introduced to provide efficiency on now-obsolete platforms. Both methods were effective in locating features in CONVERT3. The Dependency Graph search method required considerable adaptation to be useful on this kind of program and required the systematic exploration of a large amount of code. The Software Reconnaissance technique was able to locate features with less searching but, as compared to earlier experience with C, the Fortran code proved more dijjficult to understand once it had been located.
منابع مشابه
A comparison of methods for locating features in legacy software
Software engineers frequently need to locate the code that implements a specific feature of a program in order to fix a problem or add an enhancement. Several methods have recently been proposed to aid in feature location, notably the software reconnaissance method, which uses dynamic analysis of traces of execution, and the dependency graph method which involves static tracing of calling and d...
متن کاملA New Two Dimensional Model for Pollutant Transport in Ajichai River
Accurate prediction of pollution control and environmental protection need a good understanding of pollutant dynamics. Numerical model techniques are important apparatus in this research area. So a 2500 line FORTRAN 95 version code was conducted in which using approximate Riemann solver, couples the shallow water and pollution transport agents in two dimensions by the aid of unstructured meshes...
متن کاملModel-Driven Migration of Scientific Legacy Systems to Service-Oriented Architectures
We propose a model-driven and generative approach to specify and generate web services for migrating scientific legacy systems to service-oriented platforms. From a model specification of the system migration, we use code generation to generate web services and automate the legacy integration. We use a case study from an existing oil spill analysis application developed in Fortran and C++ to sh...
متن کاملMigrating from Fortran to Fortran with the NAGWare f and f Tools
The investment in code written in the Fortran language over the last four decades means that there is a vast amount of legacy code written to various standards and incorporating numerous vendor extensions to the language Meanwhile the new For tran standard adds many attractive new features to the language while retaining compatibility with Fortran This paper shows how the NAGWare f Tools may be...
متن کاملOptimization of a Legacy Open Source Cfd Code for the New High Performance Computing Architectures
Legacy computational fluid dynamics (CFD) software plays a crucial role in today’s simulation-based engineering due to the confidence level established through validation of these codes over time. Fortran, one of the oldest programming languages around, has gained an important role in high performance computing (HPC) environment as the complexity of the problems tackled increased with their siz...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2001